package com.godfrey.provider.service;

import com.godfrey.api.entity.User;
import com.godfrey.api.service.UserService;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * 服务实现类
 *
 * @author godfrey
 * @since 2021-08-22
 */
@DubboService(version = "1.0")
public class UserServiceImpl implements UserService {

    @Override
    public User selectUserById(Integer id) {
        User user = new User();
        user.setId(id);
        user.setName("张三");
        return user;
    }
}